Move pet creation out of constructor.