Fixed syntax errors with previous revert commit.