House Bill 5004 came in the wake of a slew of tragedies involving children who were under the watch of the agency.