- Implemented Visitor Pattern.