Beds with slats