Modify routing to require callable or throw TypeError