This API was introduced to aid the refactoring, but it isn't something we want to support long term. Remove it and for a few places, push passing config.Key around more, instead of converting to the old type eagerly.