Fixed annotated dependencies not resolved in Provides methods.