Fix types error.