Add a class method to do efficient deletes

For many orphans, this is a lot faster
Line is too long. [94/80]<br>Space missing after comma.<br>Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.