Added handling of __init__.py files.