Fixed E_STRICT errors about method signatures not matching