Issue 10981 - Contracts in pure class methods are useless

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