Repositions parentheses and curly braces