Scope inheritance hierarchy