cleanup docs and formatting