Added multi-field search for find(). Improved handling of insert
statements and removed required_fields variable.