TODO To dump this file and use OSGiPluginRegistry