Integrated with InjectAttribute. Added cache to namespace resolving.