Added "delete" functionality for local references and for local peers.
Merge origin/master