make the thing osgi compatible