Improved explanation in python api section.