Changed Cosine label to Value.
Updated the imports to reflect the structural changes.