Made runtime structs NoCopy.
Implemented Eq for Class.
Added tests for runtime.
Removed incorrect Encode for Class.