Optimized argument parsing to reduce number of exceptions thrown.  Was showing up in profiles.