Add initial input handling.