Add a nondestructive define method.