Add hooks for user preferences (#14614).
Authored by: jplang 2013-08-05
Parent: [r12084]
Child: [r12086]