Convert to OSGi plugin