Added support for single primitive input/output parameters.
Authored by: spasi 2010-03-14
Parent: [r3286]
Child: [r3288]