Updated to new Objective-C 2.0 language.
Corrected definition of BOOL properties.