add option for including attached objects in marker