What methods can be used to prevent the spread of communicable diseases?