Move the instance methods into a module for inclusion as per ActiveSupport::Concern warnings.