Add Template Method pattern.