Replaced InputType marker interface by InputTypes and added type() to @WithAttributes