Documentation formatting and cleanup