Improved configurator to support more register types.