Compatibility with CakePHP 2.4