am b7f05114: Restore missing min and max API.

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