Store supported CAP capabilities
Fix constructor arguments