Added min and max.