Example updated to use router extensions.