Make NewRequest and NewRequestWithData public