Combine types.go with parse.go