hotfix class methods within instance method