Make code much cleaner and slightly faster (about 4% on a Linode VPS).