Fix dependency on deriving.