Uses undefined to reset fields.