ENH: Make `mode` parameter positional

See the mailing list discussion initiated by Nadav Horesh