Rename objsys to obj_sys.
Added type in query.