Declare set as a coercion.