Small edits on docs and routines