Add instance-based addComponent (#457)
Add class-based addComponent (#457)