decorate_instance now has to check instance type. But it allows side effects.