Removes extra braces.