[NOBTS] Simplify object creation by reflection.