docs(path plugin): add comment
chore(legacy): remove unneeded code