Issue with duplicate Register attributes generated.