Added length limits.