Fixed registering items with the wrong name.