Removing Call-time pass-by-reference which caused fatal errors in PHP 5.5

Re-commiting to the Develop branch