Just using object_init_ex() directly makes the code a bit simpler and avoids unnecessary indirections.