Copy the block into the dictionary or else this causes a leak.