Add new method refresh() for refreshing a controller.