Improves decl lookup through scope stack.