Wallet.loadFromFile takes WalletExtensions to deserialize

When saving a wallet with an extension, i would like to get the wallet including the extension back without using parseToProto(input).