Add get object/group with name function s.