Cleaning up and adding a hook for humidity.