Answer
Check the newly generated .entity file for its default placeholder lines defining "Key" and "Value" attributes near the top — these are included automatically when the file is created and need to be removed or changed, since leaving them in place is interpreted as an attempt to add two new attributes to the entity, which can produce a confusing overtake-signature error pointing at an unrelated function rather than a clear message about the actual placeholder lines themselves.