Missing type declaration for provider