Fixed class diagram
Closes #272