Adding attributes and operations to class diagram