Fixed the bug stated in issue #2.
Adjusted dependency to fit diagrams.