Begin adding more sophisticated input handling.