Edit mixin