Create a class diagram for the compass API.