Fixing E_STRICT errors: Only variables should be passed as reference.