Updated CodeText and CodeAttachment to share method names.