Functions used by the Production Scrap 2 mod. Other mods can use this to add their own compatibility.