just use a ops trait for hascode, ToString is provided by LMS in ObjectOps. first step. next step is implementing hashcode so that codegen is good for c too