review Comments Set 1.
added methods in Activity for XPath related changes. These need to work
for both Activity and ActivityNode. Thus overriding in Activity.