cleanup CakePlugin::loaded() usages