Added braces in function body to conform to our style

Haven't reached the "brevity" chapter yet.