You don't need this, you could just do `object BinaryLabelParser extends LabelParser` and pass the object around. Then add a getInstance() method in it to make it usable from Java (otherwise Java users would have to pass `BinaryLabelParser.$INSTANCE` or something like that). Actually try updating one of the Java examples to use this, or just write some Java code to see how it can be called.