Move method to mixin.