The get/set includes, excludes, includesNamespaces and excludesNamespaces should be broken out into a sub-interface of ContextMapper - perhaps RegExpContextMapper - with appropriate base classes. This way, custom context mappers can be written without having to take regexp expressions into consideration (if they don't want them).