Added code to generate the content types.