Added ComponentTrait.

Signed-off-by: SeynovAM <sejnovalexey@gmail.com>