Add virtual destructor to get rid of Xcode warning.