trying to add capabilities support

Signed-off-by: Guillaume Boucherie <gboucherie@mediametrie.fr>