Re-implement process_inbound with support for routing blocks.
Re-implement process_outbound with support for routing blocks.