Better behaviour for curly braces