Simplified extension API a bit. The component to be extended can be
passed in through the extension's constructor.