Add rest host config for constructor