handle functions with splats and no keys