Removes unused reference.