Removing dependency from ScreenshotController