Added Component:pack function