PHP doesn't want me to overwrite this function