Updated support for class assignments and equality check. Still a few more things to tweak though.