Defining Union Type Schema with Classes - Effect Community