Lazy dependency loading