updated visitor interfaces to use const pointers