added hasRest support before reload REST services