Parametrize request and response types