Changed some input related stuff.