Move all metadata definition for quiz_entity to its class.