code cleanup (remove typed_data and archive namespaces). update to use latest archive version.