Government planning to repeal animal welfare codes