Rename block_* functions to local_*