Added hostname for REST API.