Added missing curly braces.