Feature: add an API to generate radio button elements separately.
Make single input generation fork in hidden and display modes, too.
Improve documentation in interface docstring and doctest.