$modx->removeCollection( 'vote', array() );
Could not get table name for class: vote
xPDO->removeCollection - Error deleting vote instances using query DELETE FROM
$modx->addPackage( 'vote', $path . 'model/', 'lhm_' );
This question has been answered by rdaneeel. See the first response.
$modx->removeCollection( 'vote', array() );
$modx->removeCollection( 'Vote', array() );