[#3565] Add XXXContext.settings() for convenience