Added enum compilation