Changed the signature of `blend` so `mode` is the first argument now