Clean the file. Move implementations to cc.