Implemented scope re-use by type and position lookup, and by storing deprecated scopes as conditional childScopes when the condition is false