Compatibility with CakePHP 2.2.4