allow View attributes to be either properties or attributes. Fixes gh-54