Performed initial updates to 1.7. All compiler errors should be gone.