Added some methods to create a decode function call.
Authored by: keess 2009-01-16
Parent: [r2173]
Child: [r2175]