Initialize priority in CraftDefinition constructors