Fixed namespace issue with Input class