Changed to d_ptr plugin interface.