Move performResume hook into separate class