EntityHelper class, yay. Also Visitor interface.