Refactoring creational patterns.