Make the plugin CakePHP 3.x friendly.