Modify the API archetype in term of the class diagram