Fixd repr_attr in case __repr__ is called before __init__