Remove extraneous content and fix styling.