Add type hint to evaluate()