Remove dependency on mtl.