Added ProjectFile#register_type