generalise object link removal a bit more, to allow for removal of kpis etc