Helpers for programmatically managing apple preferences