Base component class.