Ported blueprint code for types package