Support the enum type
Add warnings
Add the constant item

Start fixing warnings