Remove error validation in library