Caste now returns error instead of bool.