Breaking screenshot tracking out into a role for use in other contexts.