Removed dependency for restClient and ent