Removed dead code
Better exception management
Security leak on magic call
changed property name
phpdoc