comment out some __magic_handler__ which are not used in the standard library
change Syntax to extern class (some TODOs left)