Clean up view registry API

This PR:
* Removes all view-related methods from the models
* Simplifies the API for adding view providers to the view registry