Adding new functions to the class diagram.