Remove deprecated() call from constructor

Autoloader is calling these and filling error logs
Fix call time pass by reference

Must be done to be PHP 5.4 compatible