Add support for capabilities/multiCapabilities

eee..