Removed not used macros
Removed compatibility with old PHP
Added get_properties() handler