Added comments as per @aledsage's PR comments