Refactor scheme checking logic.
Refactoring open() logic in SQLite driver.
Refactor open() of K2MemoryDriver.