Cairo: Added all pattern stuff into context