Add EntityVisitor to core