Removed unused refs.