Fixed strict standards issue with incompatible function definitions