Support syntax objects and paths. Closes #1