Add missing return values. Fix compiler directive in SuperObject. Fix packages for XE2.