Workaround for VS2005 compiler bug.