Include doseMetastate hashkey check and added hoek.