Implement DerefImm and DerefMut #7141