Added support for Memcache and PdoMySql.