Cleaning up the preamble