Add documentation for from_sql method.