Strip view suffix when passing views as properties
Add tests.
Update docs.