Better bracing for functions