Updated for Xamarin Studio.