Consolidated all localtype attributes

Now all ref to a.localtype