Removed wrapper function, calling refresh methods directly. Adjusted definition and other calls to reflect new definition.