Added support for -k.