strip trailing whitespace
remove docstrings that are redundant to the real documentation