* added function 'getConfig'.