ENH: class inspection