Need to be more careful about what is passed to fromObject.