I missed that this was a public function before (when I suggested that you rename it).. Might be worth doing a quick search of existing extensions to make sure nobody is calling it (I would be surprised if anyone was).