Used the simpler count function instead of keys for pathing.
Namespace -> Scope.
reflectClass -> reflectType