Validate library