Put docstring attributes in right place