Format TimePreference class; Fix missing file extension