improved inputTypes, config api