Add support for prepared statements