Add library functionality for components and menu