Converted the sequence user functions to the auto-generation design.
Authored by: bugman 2012-05-10
Parent: [r16211]
Child: [r16213]