Internalise the matching function from the request dependency