Fixed some OSGi resources.