Implemented generic crafting handler.