Clean up markup.