Graphene - a thin layer of types for graphic libraries