add ctors for gl objects from external ids