Removed max from API as its API bloat.