Added validations for Er::User and Er::Item.