Fixes #6620 - unable to get trait method body