Init method for importing in Python and R version added.