Reformattted and added missing semi-colons.