Refactor mappings to allow blocking and static (non-overridable) parameters.
Make metadata key and stored query description functions public for UI