Fixed extraction in __init__