Added a generic config parser/child handler and used it for dirplex and patplex.