Subclassing Maya's containers

Hey guys. I’m somewhat new to the Maya API. I’m trying to better organize my graphs and I think containers are a good way to do this. However, I think there’s so much potential to containers if I can subclass it to extend it’s functionality. I see there’s a ContainerBase class that looks like something I can use, but I am not quite getting the hang of how to go about doing it. Is it possible to create a new node type that is derived from ContainerBase so I can add my own logic to it? Or is that reserved for the MPx<> classes? There seems to be very little resources out there related to this.