Fixes few warnings for Enums.