Added removeAllergies and removePreferences functions