public interface ClassDictInit
public static void classDictInit(PyObject dict) { .. }The method will be called when the class is initialized. The method can then make changes to the class's __dict__ instance, f.example be removing method that should not be avaiable in python or by replacing some method with high performance versions.