Do we need `contents = ` here?  Does `generateBuiltinContents` need to return `contents` since it is passed by reference?