Added interfaces for input and inputtypes