pass in ConfigProxy as a whole instead of its properties