Making OSGi imports optional.