Support different service type.