Stubs for preference APIs