Added support for stored procedures.