If you're using this a lot perhaps look at using a custom ContextProcessor?