add time_area registration impl to lua