got rid of magic docstring decorator