According to the hierarchy of controls, which of the following is the most effective method for controlling a workplace hazard?