Add functionality to return optional healthcheck.
Add functionality to return optional healthcheck.