Add structure map support for dependency injection.