Plugin and hook calling mechanisms for python
