Fix for multi docstrings and add sphinx directives