Cleanup in References