Allows ruby objects to implement equality comparison and inspection methods.