Support for class hierarchies. Updated documentation. Contributing file.