Added class hierarchy.