Fix component registration