This document discusses the visitor pattern and presents the Visitors Framework Generator (VFG). The VFG automatically generates model-specific visitor frameworks from Ecore metamodels. It creates visitor and visitable interfaces as well as default abstract visitor implementations. This avoids duplicating code and separates structure from behavior. The VFG was used to generate visitors for the Eclipse OCL and QVTd modeling projects, creating frameworks for 7 and 10 Ecore metamodels respectively. The visitor pattern and VFG are useful when behavior is unclear or evolving, and allows clients to add specific behavior algorithms without changing structure.