Add capabilities support and debugs