Workaround for pig being stupid.