An extremely simple way to enable min/max.