XWikiPreferences is currently not merged on purpose because it could cause a lot of problems with some of its objects, so this issue does not make much sense anymore.