Unsetting the deref parameter to remove references