Handle sqlalchemy multiline and params slightly better.