Use the context keyword type for defining type aliases.
type
type AliasName = q.f.C; type G.<T> = g.C.<T>;