Add delete and deleteLocal methods

cc @jcorbin @Raynos