Fix Trac #1954: newtype deriving caused 'defined but not used' error