Fixing method signatures to avoid E_STRICT errors.