Implements class diagram