Use interface augmentation to support capability based interfaces.

Thanks to Gijsbert van den Brink.