RTTI to the rescue – configuring your class at runtime