$inputType looks superfluous.