Switch to minimist. Closes #354.