Get this to a base class/mixin as you are doing the same thing in another one above.