model.py: Use content-type to determine content-block type.