Class hierarchy

See the diagram from google