simplify reference types