Add custom parser to handle user input robustly.