Adding missing braces for a scope