Changes to make the coref is accessed properly