Fixed errors with syntax.