Cache automatically removes references when a record is removed