Python Add Method To Class Dynamically Induced