added 'requestClass' parameter to classes creating requests