Overload constructor to work with VS2008