adding support for multiple choices, and changing document_type to model_class