Support stack allocation of objects.