Revert "Support for writing the polymorphic type key."

This reverts commit 8d4529afd0dfacc7bc9efe545b6c84e0b8a505ba.