Fixed syntax error due to the refactoring of paths to attributes.