Add some comments for clarity.