Better error message when member does not implement interface. Fixes #15369