Minor cleanup in MachineCarpenter
Expose crate registration to the API