added destructors to all uri classes