Added a comment so people can see where this code originally came from.