Update to match changes in CakePHP 3