Rollback of onBeforeLoad warning

Commented instead of a literal rollback for the purpose of historical
reference.