Replaced the enum classes, with strings-keywords for defining the values of 'regType' parameter.