Adding custom preference.