Unless I'm misunderstanding things, this should be a hash with capability names as keys.