Move hole helpers into a separate file.