You need to define `TYPE_DISCOURSE` (see https://github.com/mozilla/mozillians/pull/938/files#diff-2385a5c79688e1ca61865b788696f21bR707)