am d1fdfc12: Restore missing min and max API.

* commit 'd1fdfc12e1b52b362452bc08ffaf472ff7c8c491':
  Restore missing min and max API.