Use explicitly typed routes rather than a bunch of booleans