Remove CONSTRAINT_REF and C_REFERENCE_OBJECT types