Define enums as shifted and with exact size.