remove input.type method

already implemented (thanks @jarib)