Having org message in the mail category actually causes an older version of org to be cloned and registered, which screws with org agenda and other features. Thus make sure that the org declaration comes first so the latest version of org-mode is cloned