Added outputClassName support so that user can specify custom output class name.
Authored by: prudhvireddy 2012-10-13
Parent: [r6416]
Child: [r6418]