Made register_block_token be a bit more efficient.