Fix for KT-5495: Support method implementations in local traits

 #KT-5495 Fixed