Make SanityCheck method part of Worker