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).
this method shouldn't be necessary, surely? loadFromFile(file) still works with the above prototype change. It's source (probably not binary) compatible.