Removed unused functions from model.
Began using reflect.Value to prevent a bunch of type assertions.