added some code to the files that were generated for comment resource