Changed ConfigurationProvider and GetPaymentMethods to use existing InvalidTypeException, see previous commit message.