Fix prototype oddities

Closing #37 in favor of this, as it has that fix plus another one for ViewModel.setData