Add "type" to my custom input plugin

I'm not going to continue debugging this without seeing the code.