For Python class