Add utility function create_block_renderer()