Adding getPreferences and getPayment