Added extension method for ContainerBuilder