Tidied up proj a bit.