Merge deleted/private check to common.py