Awkward input handling.