Improve exception handling!
Add withInputTemplate()