Tidied up the dynamic proxy config helpers.