Added some clarifying inline documentation.