Fix for limited .NET api in silverlight build.