componentsFromPath in Namespace is the recommended way to do it.
I think this is not a good idea to change that behavior.