Workaround for Visual Studio internal compiler error (Fatal Error C1001).