MDL-31989 component: Allow classes to be retrieved by namespace