Remove main from __init__.