Hack to support old UserDataSize function