Updated the assign_function() method to the new relax design.
Authored by: bugman 2008-04-25
Parent: [r6005]
Child: [r6007]