Fixed for strange ordering sequence of docstrings and declarations