Bug: Implemented a fix to capture constructor methods calls