Fixed enum style to comply with new module versions