Use request object instead of hash