Roll-back of #595084; type-hinting parameters at stdClass makes it so you can't ever pass in another type of class.