[enh] fix issue 6549 - Implement contracts without implementation.

http://d.puremagic.com/issues/show_bug.cgi?id=6549