Issue 1286 - Add a content type enum for use with FilterEngine

We don't really use asserts so far, but I think it's a good idea here. But we're trying not to leave TODO comments around - we should either do it now or file a follow-up issue.