[dml-compiler] Support modifiers in Classes and Relations