Could this be a mixin? Seems like it's used in more than one place.