Removing references to blocks