Abstracted back the write method common to several of our buildable views to a mixin that they can all share.