Fixes #216

https://github.com/Azure/azure-sdk-for-python/issues/216