Tweaks code for clarity.