And we should provide a clean api/configuration api for it (ie move it from xwiki.cfg to xwiki.properties) so that we don't add all code everywhere.