Code to create Entity classes.