Add getServiceElementsBySelection
and getTopLevelServiceElementsBySelection