What are some safety measures that can be taken to prevent accidents in the workplace?