Starting work on router TypeScript def.