Remove code which wasn't intended to be in release