Remove unnecessary assignments from __init__()