Added support for input name.