Adds functionality to the models that are viewable