added class description macro
refixed reflection issue when registering