Add delete method to definition api.
Add search to definition api.