Added support for arg shifting on parseArgs.