Adds first attempt at refcursor processing