Adding completion listener.