Update __init__.py

Changed the API