FIX: libs encapsulated in context