Work on types generation.