Dependency injection for node types.