removed unused method in ComponentRegistry