Added support for initializing components with arguments