remove require for rest client