Avoiding unnecessary checks on ``req``, at joshfriend's suggestion