Implement factory container.