Cleaning up un used references.