Use correct method to convert typeKey to root key.