Move lexical tracker to scope
Add warnings for unused aliases