Implement Protectprivatesubs