Removed irrelevant portions.