ServiceDefinition: getOpenMethods returns leaf definitions

#18 for 2.1 branch