Implement delete function, update namespace and add to docs.