Added a soft dependency on request object in isActive method.