Python doctrings added