Added support for execute scalar queries.