Give a nice error message when you try to register a non-Item for the Item registry