The way of getting program elements using Visitor pattern was changed.