_definitions ordered to fix dependency issues