Add isClass() and asClass() methods for all the classes that make up a Brother Tree.  To be used to simplify the implementation and to replace the instanceof calls from everywhere.