remove syntax version
move load_core_class up and add infos argument to type_function
make a huge mess