added possibility to style itself as component