Removes unused code (sql provider)