Added appropriate source credit to code comments.