Fix logic error: tuples are readonly
Fix section levels for subdocstrings