Remove a "magic number"

Clarify where the "magic number" 2 in the NoticeType Factory comes from