code cleanup (remove unnecessary typed_data namespace).