Added CAToneFileGenerator, removed unnecessary cast from CAMetadata