Move logic out of mixins and into Jira::Core.