Implement preference overriding.