export osmium on class instead of proto