Moved dtor definitions out of header file to avoid duplicate symbols