Added a missing brace, fixed formatting.