Fix Input class. Thanks to Sebbo.