Update prefs implementation to use newer proxy API.

This can land only after Bug 783829 is fixed.