Refactor merge of capabilities in Browser