removed dependencies on RestObject