python. Static type checks, fixed #150.