Remove unused reference type.