Add priority attribute