Modified to allow plugins to be added from the input config object.
Authored by: SeanZ 2012-10-02
Parent: [r6378]
Child: [r6380]