Removed debug commands.
Implemented collection item validation.