Cleaning up arg parsing.