Cleanup - delete BaseResource and BaseNamedResource