Adds check of the length of code in the items and in the admin interface.