Changed opening braces to conform with coding convention.