Moved conversion to array in __init__