Moved lang object to generate