introduced new ObjectVisitor API for all commands