Fix syntax issue and add new lines at the end of the file.