Add machine interface functions for the list -k command.