Library widget setup.