Fix functions parameters to fit to CakePHP core default and prevent Strict Warnings