Adding radio, checkbox, file and custom field support.