adaption to changes in go/types