Refactor TypedKey to TKey
Properly generate scaladocs instead of the fake javadocs