Added support for radio inputs