maybe we can call the 'kind' parameter 'path' or something similar