Add equality and comparison helper macros to classes.hpp