Taking request object through parameter instead of DI.