Fixed dependency issue with rest-client