Adding request factory.