Converted the molecule user functions to the auto-generation design.
Authored by: bugman 2012-05-09
Parent: [r16152]
Child: [r16154]