Add documentation for visitor