Added compatibility to cake 2.4.4