document python util methods
add more documentation to python util