Limit which-function to supported modes