I try to not have mutable global state right there on the package; maybe put these inside a class which gets instantiated in the main function? I specially don't like the LabelDomain and FeaturesDomain names on the app.chain namespace, as it might get confusing.