Fleshed out dynamic dependency injection