Add priority field to links