Get rid of some excessive strlen() calls.