Added prepared statement support