Make UserQuote.type into a named enum.