Remove the defunct goals code