Changing scopes from compile to provide for some dependencies.