Prefer erlang:min/2 to lists:min/1.