Also check max length.