Adding ability register listeners with callback