add message options and field options class