Move set_field() and get_field() to  class BasicField, so that class Field doesn't depend on class Msg.