Use constructor.newInstance() instead of pass object directly