Move refs methods into mixin module