#146 added support for stored procedures and functions