Adding in support for automatic caching for prepared statements.