Rename method definitions enums.