Added delete function for CDN objects and fixed typo on function name