Fix classdesc in modules

This pull-request fixes #740.