Clean up comments in CoreObject