Added max lengths to system calls.