Fixed ambiguities between values and errors for AnyObject type.