Restrict size of classification_type key