Updated reference to use router instead of API