title: How to override classes in lib/Varien directory?
body: <p>I want to override <code>\lib\Varien\Data\Collection\Db.php</code>. I know how to override this by creating the same file path in local code pool. I want to know is it possible to override this class same way we overriding models, blocks inside our modules? Any help will be appreciated.</p>