Redone registration code.