add some rest methots for object type