Allow initializing objects with components