Old versions compatibility (XE2 and lower)