reject serializsation if handler is closure
add routes to the matchRequest method
update