Make it possible to use elasticsearch unicast without defining interface