Added delete functions to schema