Extract relevant entities from the request.