Changed relations and tuples to store concrete types instead of rm_objects