Adapt tooltip and resource definition