Add more length checks.
More warnings.