Added enum validation of mime-types