Implemented isEqualTo() and isRuntimeEquaivalentTo(). Closes #8.