Move object healthcheck to class for atomic health checking