Fix compatibility with WCF 2.0.0 Beta 6

Fixes #6