Added secure modify for methods