Added support for MGOAL_GO_TO_TYPE