Refactoring HackerrankClient.