Adds "{" and "}" and fixes text manipulation method calls