Make refreshHandler protected so it can be overridden