Could those two lines go into a mixin?