Fixes issue #690.
Adds accessors to the constructor of classes.