Utility methods related to WCF