Factory class is added.