A few changes to make the 'residue.create()' user function partially functional.
Authored by: bugman 2007-03-14
Parent: [r3192]
Child: [r3194]