[INTERNAL,DOC] some minor code and documentation updates