Adding classmethod to class dynamically @ Python