PHP Strict mode was complaining about references.