Lightweight libraries and events