Refactoring: changed the visitor design to remove the line info from
the parameter list of the individual visitors