Complete interface for prepared statements

Untested