Reversed the order of `extract`'s parameters, to match the precedence set
by other functions. Fixes #1119