Cleans up comments and code