Move metadata definition for quiz entity to its class.