Generated comments, if any, for properties. Fixed a possible crash with the multiple inheritance.

Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>