Understanding the Plugin __init__() constructor