Adding support for purging unused taxa