Add list behavior.
Move max(int, int) to core.math.