Sorting out mod integration