added request preferences parameter to specify root context for certain functionality