Removed pass-by-reference for PHP 5.4.