There's more...

There is another function very similar to NewObject< > called ConstructObject< >. ConstructObject< > provides more parameters in construction, and you may find it useful if you need to initialize certain properties. Otherwise, NewObject works just fine.