Issue #67: Harden validation code for deployables.