Merge various documents into options in one.