add types as resources