move comments into class docstring