Adapting Core so it will compile wo old AnaDomain.

AnaDomain was changed and therefore, code that relied on its datatypes
do not compile regularly anymore. This fixes this issue for Core.
fixup! Adapting Core so it will compile wo old AnaDomain.