Fixed type error for the Flash target.