Remove dependency on requests