Rename inheritance to classes

Plans to make this more general.
Document interaction of len and kind of class