Support for setting attribute types on inputs