extraced Scope and Type definitions