Ported both main crafting handlers.