Documentation and tl_gen tool