Fixed some formatting and indexing problems.