Add a new function to specify multiple key specification