Added PreferenceInjection.