Added events to pyramid libs