Moved some comments around for clarity.