minor: put method doc inside the methods python-style, not outside like c#/java style