Removed type factory.