Adding additional inline documentation to export and debug stages.