Block added/removed callbacks

Adding callbacks for onBlockAdded and onBlockRemoved.