Added support for hidden inputs.