Implement @OnException ability. Hook methods calls refactoring.