Updated to set dependencies with osgi services.