We should be returning a type capture here, fix that up, which prompts
us having to retrofit the interface properly into concrete SchemaNodes
-- making it obvious where we have some overlap.
Change-Id: Ia8648c203f8e1560008711954febb815aecb1b6a Signed-off-by: Robert Varga <robert.varga@pantheon.tech>