python. Root rest functions, fixed #189.