Defer loading dependencies until they're needed.