Is `path` the only local variable that's used by these three cases? If so, self-contain them into the coloring scheme classes by passing in `path`.