Fix inclusion on class method in exception handler