added option for bypassing validation (required for example when archiving objects)