Remove unnecessary class attribute reset method