Added argument parsing.