In APIResource: Added date deserializer, error codes, etc.