Made delete return deleted object