Added the block listener.