Enforce no mutations outside of register callback