Implementing hash to detect changed data. Cleaning up status function for consistency.