add support for registers to Visitor