Made protected setters in snippets public

To support composite viewmodels, where one viewmodel may embed other
viewmodels and therefore may need to set the embedded viewmodel
properties.