Fix methods with -> x.y types
Parse type alias definitions