Some constants changes.

Some internal changes that handle the type of data you receive as
response has been exchanged by enums.