Compaitiability with new updates

Changed remove to delete where appropriate.
Changed the exists methods to has.