Support for defining components within plugins