Add entirety of Mallet because it's a wreck trying to shim in fixes for that codebase