Remove runtime package dependency, properly get max int.