Removes some unnecessary curly brackets.